package com.aizuda.boot.modules.business.counterparty.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Author sangyirong
 * @ClassName LegalTenantRel
 * @Version 1.0
 * @Date 2025/8/6 13:49
 */
@Data
@TableName("legal_tenant_rel")
public class LegalTenantRel {

    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "法人实体ID")
    private Integer legalId;

    @Schema(description = "系统租户Key")
    private String sysTenantKey;

    @Schema(description = "创建人ID")
    private Long createId;

    @Schema(description = "创建人")
    private String createBy;

    @Schema(description = "创建时间")
    private Date createdAt;

    @Schema(description = "是否删除(0:否,1:是)")
    private Boolean deleted;
}
